package com.ophiux.utils.parser;

import java.util.List;

import com.ophiux.utils.exception.OphiuxApiException;

/**
 * 写入操作
 * @author chenh
 *
 */
public interface Writer {

	//基本类型，Long/Int/Double/boolean/float
	public String writerFromString(Object value,String nodeName) throws OphiuxApiException;
	
	public <T> String writerFromArray(List<T> valueList,String parentNodeName,String nodeName) throws OphiuxApiException;
	
	public String writerFromObject(Object obj,String nodeName) throws OphiuxApiException;
	
}
